package com.jwthhealth_pub.old.report.util.request;

import com.jwthhealth_pub.old.report.model.resbody.HraDataRes;
import com.jwthhealth_pub.old.report.model.resbody.HraDateRes;

import retrofit2.Call;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

public interface RequestService {
    @POST("hra-new/list")
    @FormUrlEncoded
    Call<HraDateRes> getHraDate(@Field("dev") String deviceId, @Field("mac") String macAddress, @Field("uid") String uid, @Field("sign") String cKey);
    //Call<HraDateRes> getHraDate(@Body HraDateReq hraDateReq);

    @POST("hra-new/detail")
    @FormUrlEncoded
    Call<HraDataRes> getHraData(@Field("dev") String deviceId, @Field("mac") String macAddress, @Field("uid") String uid, @Field("id") String id, @Field("sign") String cKey);
}
